package com.ge.modules.sys.service.impl;

import com.ge.modules.dao.TbCommissionIncomeinfoDao;
import com.ge.modules.entity.TbCommissionIncomeinfoEntity;
import com.ge.modules.sys.service.SysCommissionIncomeinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class SysCommissionIncomeinfoServiceImpl implements SysCommissionIncomeinfoService {
	@Autowired
	private TbCommissionIncomeinfoDao commissionIncomeinfoDao;
	
	@Override
	public TbCommissionIncomeinfoEntity queryObject(Integer id){
		return commissionIncomeinfoDao.queryObject(id);
	}
	
	@Override
	public List<TbCommissionIncomeinfoEntity> queryList(Map<String, Object> map){
		return commissionIncomeinfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return commissionIncomeinfoDao.queryTotal(map);
	}
	
	@Override
	public void save(TbCommissionIncomeinfoEntity commissionIncomeinfo){
		commissionIncomeinfoDao.save(commissionIncomeinfo);
	}
	
	@Override
	public void update(TbCommissionIncomeinfoEntity commissionIncomeinfo){
		commissionIncomeinfoDao.update(commissionIncomeinfo);
	}
	
	@Override
	public void delete(Integer id){
		commissionIncomeinfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		commissionIncomeinfoDao.deleteBatch(ids);
	}
	
}
